This forum is closed to new posts and
responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:
> With notepad. If there is a programmatic way to change this, that would obviously be better.
Well, i mean, what exactly was added to java.policy? In order to use java.util.logging, next line must be added to default grant section of java.policy file:
permission java.util.logging.LoggingPermission "control";
> I restarted Notes/Designer. Is that sufficient to restart the JVM?
Yes. But i actually thought you were trying to run it on server side (then server restart is required).
As far as i know, when java agent runs in Notes client environment, then default logging output for Logger.logp calls goes to java debug concole. Try checking it out (Tools -> Show Java Debug Concole in Notes Client).
> One of the logging calls uses INFO. And the point of this is to have varying levels of logging that can be adjusted a run-time. Is this goal unattainable with this approach?
When you create a Logger object with Logger.getLogger(CLAZZ_NAME) call, it gets some default logging level, based on LogManager configuration (which is defined by jvm\lib\logging.properties file). Usually the default level is INFO, that is higher than FINE and FINER levels in your calls, which means, in that case, any FINE and FINER calls will be omitted.
Feedback response number WEBB8SYPDM created by ~Anita Elrevitch on 04/02/2012